package com.example.server;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @author weicong
 * @version 1.0 createTime 2020/2/23 15:40
 */
public class Test {

    public static void main(String[] args) throws IOException {
        InputStream inputStream = Test.class.getClassLoader().getResourceAsStream("Other.properties");
        Properties properties = new Properties();
        properties.load(inputStream);
        System.out.println(properties.get("name"));
    }
}
